export interface ResponseData {
    status: number;
}

// 聊天列表返回的ts类型
export type MessageList = {
    imgUrl: string;
    lastMsg: {
        _id: string;
        message: string;
        msgType: string;
        time: string | Date;
    };
    nick: string;
    type: string;
    unreadMsgCount: number;
    _id: string;
}
export interface MessageListResponseData extends ResponseData {
    data: MessageList[]
}